package com.ysy.tz.mfg.dao;

import com.ysy.tz.mfg.entity.CarcassInWarehouseEntity;
import java.sql.SQLException;
import java.util.ArrayList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CarcassInWarehouseDao {
    ArrayList<CarcassInWarehouseEntity> listForPage(CarcassInWarehouseEntity var1) throws Exception;

    CarcassInWarehouseEntity exitsCarcassInWarehouseRecord(@Param("barCode") String var1, @Param("enterpriseID") Integer var2) throws Exception;

    int changeInWarehouseRecordStatus(@Param("barcode") String var1, @Param("isOut") String var2, @Param("enterpriseID") Integer var3) throws Exception;

    int save(CarcassInWarehouseEntity var1) throws Exception;

    int updateCarcassInWarehouse(CarcassInWarehouseEntity var1) throws SQLException;

    CarcassInWarehouseEntity searchStatisticsRecordOneDay(@Param("userCode") String var1, @Param("enterpriseID") Integer var2, @Param("day") String var3, @Param("workFlightsCode") String var4) throws Exception;

    ArrayList<CarcassInWarehouseEntity> searchLastTopCarcaseInWarehouseRecordOneDay(@Param("userCode") String var1, @Param("enterpriseID") Integer var2, @Param("day") String var3, @Param("workFlightsCode") String var4, @Param("topN") int var5) throws Exception;
}
